package cn.com.lyb.workflow.service;

import cn.com.lyb.workflow.entity.WorkflowDO;
import cn.com.lyb.workflow.entity.dto.SaveWorkflowDTO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 工作流 服务类
 * </p>
 *
 * @author lvyuanbo
 * @since 2024-07-19
 */
public interface IWorkflowService extends IService<WorkflowDO> {
    /**
     * 运行工作流
     * @param workflowId
     */
    void startWorkflow(Long workflowId);


    /**
     * 保存工作流
     * @param saveWorkflowDTO
     */
    void saveEntity(SaveWorkflowDTO saveWorkflowDTO);
}
